﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="CityAdmin_New.aspx.cs" Inherits="HealthSystem.sysAdmin.CtityAdmin_New" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
   <ext:PageManager runat="server" AutoSizePanelID="p1"  />
   <ext:Panel runat="server" ID="p1" Layout="Fit" ShowBorder="false" ShowHeader="false" BodyPadding="8px">
    <Toolbars>
        <ext:Toolbar runat="server">
            <Items>
                <ext:Button runat="server" Text="保存" ID="btnSave" OnClick="btnSave_Click" Icon="SystemSave" ValidateForms="form2"></ext:Button>
                <ext:Button runat="server" Text="关闭" ID="btnClose" Icon="SystemClose" ></ext:Button>
            </Items>
        </ext:Toolbar>
    </Toolbars>
    <Items>
        <ext:Form ID="form2" runat="server" ShowBorder="false" ShowHeader="false">
            <Rows>
                <ext:FormRow>
                    <Items>
                        <ext:TextBox Label="用户名" runat="server" ID="txtusername" Required="true" ShowRedStar="true"></ext:TextBox>
                    </Items>
                </ext:FormRow>
            </Rows>
            <Rows>
                <ext:FormRow>
                    <Items>
                        <ext:TextBox Label="姓名" runat="server" ID="cnname"></ext:TextBox>
                    </Items>
                </ext:FormRow>
            </Rows>
            <Rows>
                <ext:FormRow>
                    <Items>
                        <ext:TextBox Label="工作单位" runat="server" ID="unit" EmptyText="如:广州市保健所" Required="true" ShowRedStar="true"></ext:TextBox>
                    </Items>
                </ext:FormRow>
            </Rows>
            <Rows>
                <ext:FormRow>
                    <Items>
                        <ext:RadioButtonList ID="rdusertype" runat="server" >
                            <ext:RadioItem Value="x" Text="行政管理员" Selected="true" />
                            <ext:RadioItem Value="b" Text="保健所管理员" />
                        </ext:RadioButtonList>
                    </Items>
                </ext:FormRow>
            </Rows>
             <Rows>
                <ext:FormRow>
                    <Items>
                        <ext:TriggerBox ID="triggDistrict" Label="所属地区级别" runat="server" EnableEdit="false" ShowRedStar="true" Required="true"></ext:TriggerBox>
                    </Items>
                </ext:FormRow>
                 <ext:FormRow>
                    <Items>
                        <ext:HiddenField runat="server" ID="txtDistrictid"></ext:HiddenField>
                    </Items>
                </ext:FormRow>

            </Rows>
            <Rows>
                <ext:FormRow>
                    <Items>
                        <ext:TextBox Label="名字" runat="server" ID="txtName"></ext:TextBox>
                    </Items>
                </ext:FormRow>
            </Rows>
              <Rows>
                <ext:FormRow>
                    <Items>
                        <ext:TextBox Label="联系电话" runat="server" ID="txtPhone"></ext:TextBox>
                    </Items>
                </ext:FormRow>
            </Rows>
            <Rows>
                <ext:FormRow>
                    <Items>
                        <ext:TextBox Label="移动电话" runat="server" ID="txtMobile"></ext:TextBox>
                    </Items>
                </ext:FormRow>
            </Rows>
             <Rows>
                <ext:FormRow>
                    <Items>
                        <ext:TextBox Label="电子邮箱" runat="server" ID="txtEmail"></ext:TextBox>
                    </Items>
                </ext:FormRow>
            </Rows>
        </ext:Form>
    </Items>
   </ext:Panel>
    <ext:Window ID="Window1" CloseAction="HidePostBack" runat="server" IsModal="true" Hidden="true" Target="Self"
        EnableResize="true" EnableMaximize="true" EnableIFrame="true" IFrameUrl="about:blank"
        Width="200px" Height="550px">
    </ext:Window>
    </form>
</body>
</html>
